<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>标签上浮动画</title>
    <link rel="stylesheet" href="demo.css" />
  </head>
  <body>
    <div class="input-container">
      <input type="text" placeholder="" />
      <label>您的名称</label>
      <div class="underline"></div>
      <span class="hint">请输入您的真实姓名</span>
    </div>
  </body>
</html>
